#ifndef MY_LABEL_H
#define MY_LABEL_H

#include <QLabel>
#include <QDebug>
#include <QPaintEvent>
#include <QMouseEvent>

class My_label : public QLabel
{
    Q_OBJECT
public:
    explicit My_label(QWidget *parent=Q_NULLPTR);
    virtual void mousePressEvent(QMouseEvent *event);
    virtual void paintEvent(QPaintEvent* event) ;
signals:
    void clicked();

};


#endif // MY_LABEL_H
